package fun.codedesign.yinxue.code.php2java.rule.word;

public class SingleQuataWordRule implements WordRule{
    @Override
    public boolean isMatch(String originWord) {
        return "'".equals(originWord);
    }

    @Override
    public String invoke(String originWord) {
        // 单引号 -> 双引号
        return "\"";
    }
}
